/*

Summary:
A wrapper for template dialog.

Remark:
None.

Version:
0.0.2

LastUpdatedDate:
2012-09-21

*/


#pragma once

#include <Windows.h>
#include "FrameWindow.h"


namespace Zaf {
namespace Mwl {



class Dialog : public FrameWindow {

public:
	explicit Dialog(DWORD idd);
	explicit Dialog(const wchar_t* name);
	virtual ~Dialog();

protected:
	HWND CreateConcreteWindow();

private:
	const wchar_t* m_dialogName;
};



inline Dialog::Dialog(DWORD idd) {
	m_dialogName = MAKEINTRESOURCE(idd);
}



inline Dialog::Dialog(const wchar_t* name) {
	m_dialogName = name;
}



inline Dialog::~Dialog() {


}


}
}

